package com.meteor.user.convert;

import com.meteor.user.entity.SysLogLogin;
import com.meteor.user.vo.SysLogLoginVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 登录日志
 *
 * @author lynn
 * @date 2024/1/03
 */
@Mapper
public interface SysLogLoginConvert {
    SysLogLoginConvert INSTANCE = Mappers.getMapper(SysLogLoginConvert.class);

    SysLogLogin convert(SysLogLoginVO vo);

    SysLogLoginVO convert(SysLogLogin entity);

    List<SysLogLoginVO> convertList(List<SysLogLogin> list);

}